#ifndef TUI_H
#define TUI_H

#include<QPainter>
#include<QKeyEvent>
#include<QMessageBox>
#include<QString>
#include<QImage>
#include<QEvent>
#include<QtMultimedia/QMediaPlayer>
class boxGamel{
public:
    boxGamel();
    void Map();
    void drawmap(QPainter* Draw);
    void Keydown(QKeyEvent* event);
    int getrow();
    int getcols();
 int core();
    bool gameover();
protected:
    int map[7][10];
int score;
};

#endif // TUI_H

